package com.xiaoming.backend.service;

import com.xiaoming.backend.dto.request.FindOrderRequest;
import com.xiaoming.backend.dto.request.UptOrderRequest;
import com.xiaoming.backend.dto.request.WasteRegistrationRequest;
import com.xiaoming.backend.dto.response.OrderResponse;
import com.xiaoming.backend.dto.response.TaskCountResponse;
import com.xiaoming.backend.entity.orm.User;

import java.util.List;

public interface IWasteService {
    void registerWaste(User user, WasteRegistrationRequest wasteRegistrationRequest);

    List<OrderResponse> findOrder(FindOrderRequest findOrderRequest);

    int uptOrder(User user, UptOrderRequest uptOrderRequest);

    TaskCountResponse getTaskCount(User user);
}
